// 定义路由路径
const menu = [
    {
        path: '/home',
        component: () => import('@/views/homePage/index.vue')
    },
    {
        path: '/test',
        component: () => import('@/views/test/index.vue')
    },
    {
        path: '/test2',
        component: () => import('@/views/test/test2.vue')
    },
    {
        path: '/test3',
        component: () => import('@/views/homePage/index.vue')
    },

// 重定向
    {
        path: '/',
        redirect:
            '/home'
    }
]

export default menu;
